<?php

namespace App\Controller\Example;

class BarsGoodsExample extends BaseExample
{
    public $id;// int NOT NULL AUTO_INCREMENT,
    public $bid;// int NOT NULL COMMENT '店铺id',
    public $cid;// int NOT NULL COMMENT '类别id',
    public $name;// varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '商品名称',
    public $synopsis;// varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '商品介绍',
    public $price;// decimal(11,2) NOT NULL COMMENT '商品价格',
    public $integral;// int unsigned DEFAULT '0' COMMENT '消费积分',
    public $original_price;// decimal(15,2) NOT NULL DEFAULT '0.00' COMMENT '原价',
    public $cost_price;// decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '成本价',
    public $sales;// int NOT NULL COMMENT '商品销量',
    public $reality_sales;// int NOT NULL DEFAULT '0' COMMENT '真实销量',
    public $img;// varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '商品图片',
    public $video;// varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '商品视频',
    public $details;// text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '详情',
    public $time;// datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '上架时间',
    public $stock;// int NOT NULL DEFAULT '0' COMMENT '商品库存',
    public $status;// int NOT NULL DEFAULT '1' COMMENT '状态1:上架中 0 下架，-1删除',
    public $type;// int NOT NULL DEFAULT '1' COMMENT '1代理区商品 2服务商礼包 3车位礼包 4现金加积分商品 5现金商品',
    public $discount;// decimal(11,2) NOT NULL DEFAULT '1.00' COMMENT '商品折扣',
    public $rebate;// decimal(11,2) NOT NULL DEFAULT '0.00' COMMENT '返利金额',
    public $views;// int DEFAULT '1' COMMENT '浏览量',
    public $sort;// int DEFAULT '0' COMMENT '倒序',
    public $sku;// text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '商品sku',
    public $times;// decimal(11,2) NOT NULL DEFAULT '1.00' COMMENT '积分倍数',
}